package work13;

public class Test {
    public static void main(String[] args) {
        String words = "长亭外 古道边 芳草碧连天 晚风扶 柳笛声残 夕阳山外山";
        String[] printWord = new String[100];
        System.out.println("*****原歌词格式****\n" + words);
        System.out.println("\n***拆分后歌词格式***");
        printWord = words.split(" ");
        for (int i = 0; i < printWord.length; i++) {
            System.out.println(printWord[i]);
        }
    }
}
